<div class="col-md-12 col-sm-12 col-xs-12">
    <div class="x_panel">
        <div class="x_title">
            <h2>{$pri_name} <small></small></h2>

            <div class="clearfix"></div>
        </div>
        <div class="x_content">
            <p class="text-muted font-13 m-b-30">
                <code>说明:</code>{$code}
            </p>
            <form id="search" action="{:url('index')}" />
            <input type="hidden" name="page" value="1"/>
            <div class="well" style="overflow: auto">
                <div class="col-md-2">
                    <input type="text" name="title" autocomplete="off" class="form-control" placeholder="请输入搜索内容..." value="{:input('title')}">
                </div>

                <div class="col-md-2">
                    <input type="text" name="create_time" autocomplete="off" class="form-control" id="interval_timer" style="width: 100%" placeholder="请选择时间区间..." value="{:input('create_time')}">
                </div>

                <div class="col-md-1">
                    <button type="submit" class="btn btn-success">搜 索</button>
                </div>
            </div>
            </form>
            <div style="overflow: auto">
                <table id="datatables" class="table table-striped table-bordered">
                    <thead>
                    <tr>
                        <!--<th><input type="checkbox" onclick="CheckAll(this.checked)"></th></th>-->


                        <th>ID</th>
                        <th>公司名称</th>
                        <th>项目名称</th>
                        <th>设备id</th>
                        <th>设备号</th>
                        <th>铭牌号</th>

                        <th>年费开始时间</th>
                        <th>年费结束时间</th>
                        <th>年费延迟时间</th>


                        <th>扣款金额</th>
                        <th>剩余余额</th>
                        <th width="140">扣款日期</th>
<!--                        <th width="130">操作</th>-->
                    </tr>
                    </thead>

                    <form id="form_volist">
                     <tbody>
                        {volist name="data" id="vo"}
                        <tr>


                            <td>{$vo.id}</td>
                            <td>{$vo.company_title}</td>
                            <td>{$vo.project_title}</td>
                            <td>{$vo.device_id}</td>
                            <td>{$vo.id_no}</td>
                            <td>{$vo.name_no}</td>

                            <td>{$vo.start_time}</td>
                            <td>{$vo.end_time}</td>
                            <td>{$vo.delay_time}</td>

                            <td>{$vo.price}</td>
                            <td>{$vo.balance}</td>                            <td>{$vo.create_time}</td>
<!--                            <td>-->
<!--                                {:check_update('update',['id' => $vo.id])}-->
<!--                                {:check_destory('destory',['id' => $vo.id])}-->
<!--                            </td>-->
                        </tr>
                        {/volist}
                    </tbody>
                    </form>

                        <script>
                            $('#upload').click(function () {
                                $("#read").submit();
                            });
                        </script>
                    <tfoot align="left">
                    <tr>
                        <td colspan="100">
                            <span>控制：</span>
                            
                        </td>
                    </tr>
                    </tfoot>

                </table>
            </div>

            <div style="text-align: right;">{$data|raw}</div>
        </div>
    </div>
</div>

<!--<script>-->
<!--    $.ajax({-->
<!--        type: 'POST',-->
<!--        url: "{:url('api/wechat/pc_recharge')}",-->
<!--        data:{token:1},-->

<!--        success: function (ret) {-->
<!--            console.log(ret.data.code_url);-->
<!--            if (ret.code == 200) {-->
<!--                $('#pay_code').attr('src',ret.data.code_url);-->
<!--            } else {-->
<!--//layer.msg(data.message);-->
<!--            }-->
<!--        },-->
<!--//请求失败，包含具体的错误信息-->
<!--        error: function (e) {-->
<!--//                                      console.log(e.status);-->
<!--//                                      console.log(e.responseText);-->
<!--        }-->
<!--    });-->
<!--</script>-->

